package com.cy.detectsys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * 
 * @TableName net_pop
 */
@TableName(value ="net_pop")
public class NetPop implements Serializable {
    /**
     * 
     */
    @TableId
    private String id;

    /**
     * 
     */
    private String buildtype;

    /**
     * 
     */
    private String facilityname;

    /**
     * 
     */
    private String city;

    /**
     * 
     */
    private String geographyid;

    /**
     * 
     */
    private String regionids;

    /**
     * 
     */
    private String countryname;

    /**
     * 
     */
    private String latitude;

    /**
     * 
     */
    private String longitude;

    /**
     * 
     */
    private String operationaltaxonomyname;

    /**
     * 
     */
    private String phasename;

    /**
     * 
     */
    private String facilitytypename;

    /**
     * 
     */
    private String campusname;

    /**
     * 
     */
    private String facilityowner;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public String getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 
     */
    public String getBuildtype() {
        return buildtype;
    }

    /**
     * 
     */
    public void setBuildtype(String buildtype) {
        this.buildtype = buildtype;
    }

    /**
     * 
     */
    public String getFacilityname() {
        return facilityname;
    }

    /**
     * 
     */
    public void setFacilityname(String facilityname) {
        this.facilityname = facilityname;
    }

    /**
     * 
     */
    public String getCity() {
        return city;
    }

    /**
     * 
     */
    public void setCity(String city) {
        this.city = city;
    }

    /**
     * 
     */
    public String getGeographyid() {
        return geographyid;
    }

    /**
     * 
     */
    public void setGeographyid(String geographyid) {
        this.geographyid = geographyid;
    }

    /**
     * 
     */
    public String getRegionids() {
        return regionids;
    }

    /**
     * 
     */
    public void setRegionids(String regionids) {
        this.regionids = regionids;
    }

    /**
     * 
     */
    public String getCountryname() {
        return countryname;
    }

    /**
     * 
     */
    public void setCountryname(String countryname) {
        this.countryname = countryname;
    }

    /**
     * 
     */
    public String getLatitude() {
        return latitude;
    }

    /**
     * 
     */
    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    /**
     * 
     */
    public String getLongitude() {
        return longitude;
    }

    /**
     * 
     */
    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    /**
     * 
     */
    public String getOperationaltaxonomyname() {
        return operationaltaxonomyname;
    }

    /**
     * 
     */
    public void setOperationaltaxonomyname(String operationaltaxonomyname) {
        this.operationaltaxonomyname = operationaltaxonomyname;
    }

    /**
     * 
     */
    public String getPhasename() {
        return phasename;
    }

    /**
     * 
     */
    public void setPhasename(String phasename) {
        this.phasename = phasename;
    }

    /**
     * 
     */
    public String getFacilitytypename() {
        return facilitytypename;
    }

    /**
     * 
     */
    public void setFacilitytypename(String facilitytypename) {
        this.facilitytypename = facilitytypename;
    }

    /**
     * 
     */
    public String getCampusname() {
        return campusname;
    }

    /**
     * 
     */
    public void setCampusname(String campusname) {
        this.campusname = campusname;
    }

    /**
     * 
     */
    public String getFacilityowner() {
        return facilityowner;
    }

    /**
     * 
     */
    public void setFacilityowner(String facilityowner) {
        this.facilityowner = facilityowner;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        NetPop other = (NetPop) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getBuildtype() == null ? other.getBuildtype() == null : this.getBuildtype().equals(other.getBuildtype()))
            && (this.getFacilityname() == null ? other.getFacilityname() == null : this.getFacilityname().equals(other.getFacilityname()))
            && (this.getCity() == null ? other.getCity() == null : this.getCity().equals(other.getCity()))
            && (this.getGeographyid() == null ? other.getGeographyid() == null : this.getGeographyid().equals(other.getGeographyid()))
            && (this.getRegionids() == null ? other.getRegionids() == null : this.getRegionids().equals(other.getRegionids()))
            && (this.getCountryname() == null ? other.getCountryname() == null : this.getCountryname().equals(other.getCountryname()))
            && (this.getLatitude() == null ? other.getLatitude() == null : this.getLatitude().equals(other.getLatitude()))
            && (this.getLongitude() == null ? other.getLongitude() == null : this.getLongitude().equals(other.getLongitude()))
            && (this.getOperationaltaxonomyname() == null ? other.getOperationaltaxonomyname() == null : this.getOperationaltaxonomyname().equals(other.getOperationaltaxonomyname()))
            && (this.getPhasename() == null ? other.getPhasename() == null : this.getPhasename().equals(other.getPhasename()))
            && (this.getFacilitytypename() == null ? other.getFacilitytypename() == null : this.getFacilitytypename().equals(other.getFacilitytypename()))
            && (this.getCampusname() == null ? other.getCampusname() == null : this.getCampusname().equals(other.getCampusname()))
            && (this.getFacilityowner() == null ? other.getFacilityowner() == null : this.getFacilityowner().equals(other.getFacilityowner()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getBuildtype() == null) ? 0 : getBuildtype().hashCode());
        result = prime * result + ((getFacilityname() == null) ? 0 : getFacilityname().hashCode());
        result = prime * result + ((getCity() == null) ? 0 : getCity().hashCode());
        result = prime * result + ((getGeographyid() == null) ? 0 : getGeographyid().hashCode());
        result = prime * result + ((getRegionids() == null) ? 0 : getRegionids().hashCode());
        result = prime * result + ((getCountryname() == null) ? 0 : getCountryname().hashCode());
        result = prime * result + ((getLatitude() == null) ? 0 : getLatitude().hashCode());
        result = prime * result + ((getLongitude() == null) ? 0 : getLongitude().hashCode());
        result = prime * result + ((getOperationaltaxonomyname() == null) ? 0 : getOperationaltaxonomyname().hashCode());
        result = prime * result + ((getPhasename() == null) ? 0 : getPhasename().hashCode());
        result = prime * result + ((getFacilitytypename() == null) ? 0 : getFacilitytypename().hashCode());
        result = prime * result + ((getCampusname() == null) ? 0 : getCampusname().hashCode());
        result = prime * result + ((getFacilityowner() == null) ? 0 : getFacilityowner().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", buildtype=").append(buildtype);
        sb.append(", facilityname=").append(facilityname);
        sb.append(", city=").append(city);
        sb.append(", geographyid=").append(geographyid);
        sb.append(", regionids=").append(regionids);
        sb.append(", countryname=").append(countryname);
        sb.append(", latitude=").append(latitude);
        sb.append(", longitude=").append(longitude);
        sb.append(", operationaltaxonomyname=").append(operationaltaxonomyname);
        sb.append(", phasename=").append(phasename);
        sb.append(", facilitytypename=").append(facilitytypename);
        sb.append(", campusname=").append(campusname);
        sb.append(", facilityowner=").append(facilityowner);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}